package fr.emse.tatiana.replayable;

import java.util.List;

import org.eclipse.ui.IEditorInput;

import fr.emse.tatiana.display.BadDisplayFile;
import fr.emse.tatiana.replayable.analysis.IAnalysis;

public interface IReplayableInput extends IEditorInput {
	
	/**
	 * Note that this will not return a constant reference - multiple calls may return
	 * different objects. 
	 * 
	 * reference should be kept to analyses as this object will be updated
	 * 
	 * @param analyses
	 * @return a replayablemodel with the matching set of analyses.
	 * @throws BadDisplayFile 
	 */
	public IReplayableModel getDisplayModel(List<IAnalysis> analyses);
	public void init() throws BadDisplayFile;
	
}